package com.lesson1;

import io.netty.handler.codec.http.websocketx.TextWebSocketFrame;
import org.springframework.web.bind.annotation.*;

import javax.websocket.Session;

/**
 * @author liliang
 * @date 2019/10/26.
 */
@RestController
public class HelloController {

    int i = 0;

    @GetMapping("/hello")
    public String hello() {
        i++;
        System.out.println(Thread.currentThread().getName() +":::"+ i);
        return "Hello";
    }
}
